
using System;

using Grr.Web;
using Grr.Models;

using Castle.MonoRail.Framework;
using Castle.MonoRail.Framework.Views.Aspx;

public partial class Views_Grurrah_feature : GrurrahViewPage
{
    private Feature feature;

    protected override string TabName 
    {
        get { return "explore"; }
    }

    protected override void SetProperties ()
    {
        feature = PropertyBag["Feature"] as Feature;
    }

    public string TitleType
    {
        get
        {
            if (feature != null)
                return feature.TitleType;
            return String.Empty;
        }
    }

    public string TitleText
    {
        get
        {
            if (feature != null)
                return feature.TitleText;
            return String.Empty;
        }
    }

    public string Text
    {
        get
        {
            if (feature != null)
                return feature.Text;
            return String.Empty;
        }
    }
}
